package com.scau.database.entity.aftersale.manage;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ClassName: ExchangeGoodsVo
 * @Description: TODO 换货vo
 * @Author: sunslikes
 * @Date: 2020/6/26 2:17
 * @Version: 1.0
 */
@Data
public class ExchangeGoodsVO {
    @NotNull(message = "订单号不能为空")
    private Integer shopId;
    @NotBlank(message = "条形码错误")
    private String barCode;
    @NotNull(message = "能否销售为空")
    private Boolean canResell;
    @NotBlank(message = "原因填写错误")
    private String reason;
    @NotNull(message = "数量为空")
    @Min(1)
    private Integer count;
    @NotNull(message = "服务商不能为空")
    private Integer serviceId;
}
